fix: macOS Intel compatibility and SOCKS proxy support#316
fix: macOS Intel compatibility and SOCKS proxy support#316tonsiasy wants to merge 4 commits intoValueCell-ai:mainfrom
Conversation
- Upgraded pylance from 0.38.2 to 0.38.3 in all environments - Version 0.38.2 only supported ARM macOS (macosx_11_0_arm64) - Version 0.38.3 adds support for Intel macOS (macosx_10_15_x86_64) - Fixes ImportError when running on macOS Intel x86_64 platform - Applied to: main, ai-hedge-fund, and TradingAgents environments
…rom launcher - Added httpx[socks] dependency to support SOCKS5 proxy connections - Main project: added httpx[socks]>=0.28.1 - ai-hedge-fund: upgraded httpx to httpx[socks]>=0.28.0 - TradingAgents: added httpx[socks]>=0.28.1 - Fixes ImportError when agents use SOCKS proxy (all_proxy environment variable) - Removed AutoTradingAgent from launch.py agent list - Agent card was removed in commit c9063d2 - Prevents startup failures due to missing agent configuration Resolves startup issues on systems with SOCKS proxy configuration
- Add CLAUDE.md with comprehensive project documentation - Includes architecture overview, development workflows, and best practices - Provides guidance for Claude Code AI assistant when working with the codebase - Documents: - Project structure and module organization - Common commands and development setup - Configuration system (env vars, YAML configs) - Core orchestration flow and agent framework - Testing, linting, and code quality standards - Troubleshooting common issues
- Changed StrategyAgent port from 10004 to 10006 - Fixes port conflict that prevented ResearchAgent from starting - Port allocation now: - ResearchAgent: 10004 - NewsAgent: 10005 - StrategyAgent: 10006 Previously both ResearchAgent and StrategyAgent were configured to use port 10004, causing StrategyAgent to start first and block ResearchAgent from starting. This resulted in JSON validation errors when users tried to interact with ResearchAgent, as requests were being routed to the wrong agent. Resolves user-reported error: "1 validation error for UserRequest Invalid JSON: expected value at line 1 column 1"
|
Thanks for the PR! The fixes for macOS Intel compatibility, SOCKS proxy support, and the port conflict resolution look good. |
|
Thanks for the PR! Unfortunately, we're unable to merge this PR due to the extended period without response. |
## 📝 Pull Request Template ### 1. Related Issue Closes #200 #204 #292 ### Type of Change (select one) Bug Fix ### 3. Description Problem: In [version 0.38.2](https://pypi.org/project/pylance/0.38.2/#files), the Intel Mac built distribution was missing from the release artifacts, which prevented Intel Mac users from installing the pre-built wheel and forced them to fall back to source installation or alternative methods. Solution: This release restores the Intel Mac built distribution. As seen in [version 0.38.3](https://pypi.org/project/pylance/0.38.3/#files), the wheel for Intel Mac (macosx_*_x86_64.whl) is now included in the distribution files. Acknowledgments: Thanks to PR #316 for the inspiration! ### 4. Testing - [x] I have tested this locally. - [x] I have updated or added relevant tests. ### 5. Checklist - [x] I have read the [Code of Conduct](./CODE_OF_CONDUCT.md) - [x] I have followed the [Contributing Guidelines](./CONTRIBUTING.md) - [x] My changes follow the project's coding style
Summary
This PR fixes startup issues on macOS Intel x86_64 systems, adds SOCKS proxy support, and resolves an agent port conflict.
Changes
Fix macOS Intel x86_64 compatibility
pylancefrom 0.38.2 to 0.38.3 across all environmentsmacosx_11_0_arm64)macosx_10_15_x86_64)ImportErrorwhen running on Intel-based MacsAdd SOCKS proxy support
httpx[socks]dependency to main project, ai-hedge-fund, and TradingAgentsImportError: Using SOCKS proxy, but the 'socksio' package is not installedRemove deprecated AutoTradingAgent from launcher
python/scripts/launch.pywith explanationFix port conflict between ResearchAgent and StrategyAgent
Add Claude Code configuration
CLAUDE.mdwith comprehensive project documentationTest Plan
all_proxy=socks5://127.0.0.1:7891)Breaking Changes
None
Related Issues